package com.JZ.QM;

import lombok.extern.slf4j.Slf4j;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @author lyp
 * @email lyp@gmail.com
 * @date 2020/7/5 12:29
 */
@RunWith(SpringRunner.class)
@SpringBootTest
@Slf4j
public class test {

    @Scheduled(cron = "30 * * * * *")
    public void print(){
        log.info("111111");
    }

}
